import CoreLayout from '../layouts/CoreLayout'
import app from './app'
import Home from './home'
import Counter from './counter'


export const createRoutes = (store) => ({
    path: '/',
    component: app,
    indexRoute: Home(store),
    childRoutes: [
        Counter(store)
    ]
});

export default createRoutes
